package com.g7.dsp.forprotocol.beans;

import java.io.Serializable;
import java.util.Date;
//油感JavaBean
public class LiquidLevel implements Serializable {
	private static final long serialVersionUID = -4758801471250142583L;

	private String imei;
	private int gpsno;
	/**
	 * 协议版本号(1) + 软件版本号(2) + 硬件版本号(1)
	 */
	private String version;
	/**
	 * 主油箱液位值
	 */
	private double mainLevel;
	/**
	 * 主油箱实时液位值
	 */
	private double realMainLevel;
	/**
	 * 主油箱实时体积
	 */
	private double mainVolume;
	/**
	 * 副油箱液位值
	 */
	private double subLevel;
	/**
	 * 副油箱实时液位值
	 */
	private double realSubLevel;
	/**
	 * 副油箱实时体积
	 */
	private double subVolume;

	@Override
	public String toString() {
		return "LiquidLevel [imei=" + imei + ", gpsno=" + gpsno + ", version=" + version + ", mainLevel=" + mainLevel
				+ ", realMainLevel=" + realMainLevel + ", mainVolume=" + mainVolume + ", subLevel=" + subLevel
				+ ", realSubLevel=" + realSubLevel + ", subVolume=" + subVolume + ", signalIntensity=" + signalIntensity
				+ ", softwareStatus=" + softwareStatus + ", hardwareStatus=" + hardwareStatus + ", temperature="
				+ temperature + ", speed=" + speed + ", lng=" + lng + ", lat=" + lat + ", acc=" + acc + ", time=" + time
				+ ", createTime=" + createTime + "]";
	}

	/**
	 * 回波信号强度
	 */
	private int signalIntensity;
	/**
	 * 软件状态代码
	 */
	private int softwareStatus;
	/**
	 * 硬件故障代码
	 */
	private int hardwareStatus;
	/**
	 * 温度值
	 */
	private double temperature;
	/**
	 * 当前速度，通过gps当前状态值获取
	 */
	private int speed;
	/**
	 * GPS经度
	 */
	private double lng;
	/**
	 * GPS纬度
	 */
	private double lat;
	/**
	 * 当前的acc状态，从gps status中获取
	 */
	private int acc;
	/**
	 * 设备生成数据时间
	 */
	private Date time;
	/**
	 * 更新时间，服务器接受到该条数据的时间
	 */
	private Date createTime;

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public int getGpsno() {
		return gpsno;
	}

	public void setGpsno(int gpsno) {
		this.gpsno = gpsno;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public double getMainLevel() {
		return mainLevel;
	}

	public void setMainLevel(double mainLevel) {
		this.mainLevel = mainLevel;
	}

	public double getRealMainLevel() {
		return realMainLevel;
	}

	public void setRealMainLevel(double realMainLevel) {
		this.realMainLevel = realMainLevel;
	}

	public double getSubLevel() {
		return subLevel;
	}

	public void setSubLevel(double subLevel) {
		this.subLevel = subLevel;
	}

	public double getRealSubLevel() {
		return realSubLevel;
	}

	public void setRealSubLevel(double realSubLevel) {
		this.realSubLevel = realSubLevel;
	}

	public int getSignalIntensity() {
		return signalIntensity;
	}

	public void setSignalIntensity(int signalIntensity) {
		this.signalIntensity = signalIntensity;
	}

	public int getSoftwareStatus() {
		return softwareStatus;
	}

	public void setSoftwareStatus(int softwareStatus) {
		this.softwareStatus = softwareStatus;
	}

	public int getHardwareStatus() {
		return hardwareStatus;
	}

	public void setHardwareStatus(int hardwareStatus) {
		this.hardwareStatus = hardwareStatus;
	}

	public double getTemperature() {
		return temperature;
	}

	public void setTemperature(double temperature) {
		this.temperature = temperature;
	}

	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	public double getLng() {
		return lng;
	}

	public void setLng(double lng) {
		this.lng = lng;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public int getAcc() {
		return acc;
	}

	public void setAcc(int acc) {
		this.acc = acc;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public double getMainVolume() {
		return mainVolume;
	}

	public void setMainVolume(double mainVolume) {
		this.mainVolume = mainVolume;
	}

	public double getSubVolume() {
		return subVolume;
	}

	public void setSubVolume(double subVolume) {
		this.subVolume = subVolume;
	}
}
